package com.weibo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class UserLoginResp {

    private int userId;
    private String username;
    private String nickname;
    private String avatarUrl;
    private String email;
    private String token;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
}
